package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author longzhen.gong
 * @date 2021/6/25 14:38
 */
@Data
public class LotteryExportReqVO {

    /**
     * 来源ID
     */
    @NotBlank(message = "room_id参数异常")
    @ParamName("room_id")
    @JsonProperty("room_id")
    private String roomId;


    @ParamName("start_time")
    @JsonProperty("start_time")
    private String beginTime;


    @ParamName("end_time")
    @JsonProperty("end_time")
    private String endTime;


    /**
     * 排序类型：
     * asc 正序
     * desc 倒序
     */
    @ParamName("sort_type")
    @JsonProperty("sort_type")
    private String sortType;

    private String from;

    private String en;
}
